const CracoLessPlugin = require('craco-less');

/**
 * 自定义主题
 * 按需引入配置
 */
module.exports = {
  plugins: [
    {
      plugin: CracoLessPlugin,
      options: {
        lessLoaderOptions: {
          lessOptions: {
            modifyVars: { '@primary-color': "#1DA57A" },
            javascriptEnabled: true,
          },
        },
      },
    },
  ]
};